package com.cangxuan.backend.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.time.LocalDateTime;
@Data
@AllArgsConstructor
@NoArgsConstructor
public class OrderForm implements Serializable {
    private int id;
    private int buyerId;
    private int sellerId;
    private int goodsId;
    private float price;
    private int count;
    private float transAmount;
    private float free;
    private float actualReceipt;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private LocalDateTime createTime;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private LocalDateTime payedTime;
    private int stateId;
    private int registrationId;

    private String image;
    private String name;
    private String state;





}
